Properties of the Type Element |
|
A type element represents a BasicType (data type) or ClassType, based on the context.
BasicType
BasicType represents the basic data type. The basic data types that are used in WS-AppServer are provided in the following table.
Data Type |
Description |
---|---|
boolean |
A value of either 0 to represent 'false' or 1 to represent 'true' |
ui1 |
A one-byte unsigned integer |
ui2 |
A two-byte unsigned integer |
ui4 |
A four-byte unsigned integer |
ui8 |
An eight-byte unsigned integer |
i2 |
A two-byte short integer |
i4 |
A four-byte integer |
i8 |
An eight-byte long integer |
r4 |
A floating point number with four-byte encoding |
r8 |
A floating point number with double precision |
cy |
A floating point number that represents 'currency' data types |
string |
String |
guid |
A string that represents a globally unique identifier |
xml |
A data type to represent xml as an integer in Java |
dateTime |
A date with an optional time data |
bin.base64 |
MIME-style Base64 encoded binary BLOB (binary large object) |
BusObject |
Any data of type 'BusObject' |
Note: WS-AppServer always works with GMT/UTC date and time format. It is therefore recommended to follow the same format during application development. For example, in the soap method of implementation type "BsfJavaCall", the arguments of type "Date" must be handled appropriately.
ClassType
ClassType refers to an existing class in the same package or a different package that can be a data type. The properties of a ClassType are given in the following table.
Property |
Description |
---|---|
<type> |
Indicates the name of the class. If the class is in the same package, it is in the formatClassName. If it is in another package, it is in the formatPackageName.ClassName. |
occ |
This attribute indicates the occurrence of this class. The acceptable values are:
|